<?php

namespace Lims\MainBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Contract
 */
class Contract
{
    /**
     * @var integer
     */
    private $id;

    /**
     * @var string
     */
    private $code;

    /**
     * @var \DateTime
     */
    private $contractBeginDate;

    /**
     * @var \DateTime
     */
    private $contractEndDate;

    /**
     * @var \DateTime
     */
    private $contractSignedDate;

    /**
     * @var integer
     */
    private $contractTypeId;

    /**
     * @var \DateTime
     */
    private $createdDate;

    /**
     * @var integer
     */
    private $createdUserId;

    /**
     * @var string
     */
    private $description;

    /**
     * @var boolean
     */
    private $isActive;

    /**
     * @var string
     */
    private $name;

    /**
     * @var string
     */
    private $sourceRegisterNumber;

    /**
     * @var string
     */
    private $targetRegisterNumber;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set code
     *
     * @param string $code
     * @return Contract
     */
    public function setCode($code)
    {
        $this->code = $code;

        return $this;
    }

    /**
     * Get code
     *
     * @return string 
     */
    public function getCode()
    {
        return $this->code;
    }

    /**
     * Set contractBeginDate
     *
     * @param \DateTime $contractBeginDate
     * @return Contract
     */
    public function setContractBeginDate($contractBeginDate)
    {
        $this->contractBeginDate = $contractBeginDate;

        return $this;
    }

    /**
     * Get contractBeginDate
     *
     * @return \DateTime 
     */
    public function getContractBeginDate()
    {
        return $this->contractBeginDate;
    }

    /**
     * Set contractEndDate
     *
     * @param \DateTime $contractEndDate
     * @return Contract
     */
    public function setContractEndDate($contractEndDate)
    {
        $this->contractEndDate = $contractEndDate;

        return $this;
    }

    /**
     * Get contractEndDate
     *
     * @return \DateTime 
     */
    public function getContractEndDate()
    {
        return $this->contractEndDate;
    }

    /**
     * Set contractSignedDate
     *
     * @param \DateTime $contractSignedDate
     * @return Contract
     */
    public function setContractSignedDate($contractSignedDate)
    {
        $this->contractSignedDate = $contractSignedDate;

        return $this;
    }

    /**
     * Get contractSignedDate
     *
     * @return \DateTime 
     */
    public function getContractSignedDate()
    {
        return $this->contractSignedDate;
    }

    /**
     * Set contractTypeId
     *
     * @param integer $contractTypeId
     * @return Contract
     */
    public function setContractTypeId($contractTypeId)
    {
        $this->contractTypeId = $contractTypeId;

        return $this;
    }

    /**
     * Get contractTypeId
     *
     * @return integer 
     */
    public function getContractTypeId()
    {
        return $this->contractTypeId;
    }

    /**
     * Set createdDate
     *
     * @param \DateTime $createdDate
     * @return Contract
     */
    public function setCreatedDate($createdDate)
    {
        $this->createdDate = $createdDate;

        return $this;
    }

    /**
     * Get createdDate
     *
     * @return \DateTime 
     */
    public function getCreatedDate()
    {
        return $this->createdDate;
    }

    /**
     * Set createdUserId
     *
     * @param integer $createdUserId
     * @return Contract
     */
    public function setCreatedUserId($createdUserId)
    {
        $this->createdUserId = $createdUserId;

        return $this;
    }

    /**
     * Get createdUserId
     *
     * @return integer 
     */
    public function getCreatedUserId()
    {
        return $this->createdUserId;
    }

    /**
     * Set description
     *
     * @param string $description
     * @return Contract
     */
    public function setDescription($description)
    {
        $this->description = $description;

        return $this;
    }

    /**
     * Get description
     *
     * @return string 
     */
    public function getDescription()
    {
        return $this->description;
    }

    /**
     * Set isActive
     *
     * @param boolean $isActive
     * @return Contract
     */
    public function setIsActive($isActive)
    {
        $this->isActive = $isActive;

        return $this;
    }

    /**
     * Get isActive
     *
     * @return boolean 
     */
    public function getIsActive()
    {
        return $this->isActive;
    }

    /**
     * Set name
     *
     * @param string $name
     * @return Contract
     */
    public function setName($name)
    {
        $this->name = $name;

        return $this;
    }

    /**
     * Get name
     *
     * @return string 
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * Set sourceRegisterNumber
     *
     * @param string $sourceRegisterNumber
     * @return Contract
     */
    public function setSourceRegisterNumber($sourceRegisterNumber)
    {
        $this->sourceRegisterNumber = $sourceRegisterNumber;

        return $this;
    }

    /**
     * Get sourceRegisterNumber
     *
     * @return string 
     */
    public function getSourceRegisterNumber()
    {
        return $this->sourceRegisterNumber;
    }

    /**
     * Set targetRegisterNumber
     *
     * @param string $targetRegisterNumber
     * @return Contract
     */
    public function setTargetRegisterNumber($targetRegisterNumber)
    {
        $this->targetRegisterNumber = $targetRegisterNumber;

        return $this;
    }

    /**
     * Get targetRegisterNumber
     *
     * @return string 
     */
    public function getTargetRegisterNumber()
    {
        return $this->targetRegisterNumber;
    }
}
